package com.corpgovernment.travelstandard.mapper;


import com.corpgovernment.organization.common.mybatis.TkMapper;
import com.corpgovernment.travelstandard.entity.db.MbTravelstandReasonCode;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * MbSupplierProductMapper数据库操作接口类
 **/
@Component
public interface MbTravelstandReasonCodeMapper extends TkMapper<MbTravelstandReasonCode> {

    List<MbTravelstandReasonCode> list(MbTravelstandReasonCode model);

    int deleteByTsIdAndTsType(@Param("tsId") Long tsId, @Param("tsType") String tsType);

    int deleteByTsIdAndRcType(@Param("tsId") Long tsId, @Param("rcType") String rcType);
}
